import { IndexDto, ShowDto } from '@libs/common/dto';
import { IndexSorts } from '@libs/common/types';

import { Attendance } from '../../../hr/attendance/entities/attendance.entity';

type Props = keyof Attendance;

export class DepartmentIndexDto extends IndexDto<Attendance> {}

export interface AttendanceIndexFilterDto
  extends Omit<DepartmentIndexDto, 'sorts'> {
  sorts?: Record<Props, IndexSorts['orderType']>;
}

export class DepartmentShowDto extends ShowDto {}

export class FindDepartmentDto {}
